Issue warning if doxygen is not installed.
authoremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 12:59:35 +0000 (13:59 +0100)
committeremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 12:59:35 +0000 (13:59 +0100)
Signed-off-by: Ewan Mellor<ewan@xensource.com>
docs/Makefile

index 188d69240ab4ba5b07c272bf95b2b8c0b63b1c0d..12e35219e460982cc926ef67671f7426e9435f6c 100644 (file)
@@ -36,11 +36,12 @@ html:
        $(MAKE) $(DOC_HTML); fi
 
 python-dev-docs:
-       mkdir -p api/tools/python
+       @mkdir -v -p api/tools/python
        @if which $(DOXYGEN) 1>/dev/null 2>/dev/null; then         \
         echo "Running doxygen to generate Python tools APIs ... "; \
        $(DOXYGEN) Doxyfile;                                       \
-       $(MAKE) -C api/tools/python/latex ; fi
+       $(MAKE) -C api/tools/python/latex ; else                   \
+        echo "Doxygen not installed; skipping python-dev-docs."; fi
 
 clean:
        rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~